package com.chen.user.service;


import com.chen.user.mapper.HotelRoomInfoMapper;
import com.chen.user.entity.HotelRoom;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class HotelRoomInfoService {



    @Autowired
    private HotelRoomInfoMapper hotelRoomInfoMapper;

    public HotelRoom getHotelRoomById(Integer roomId) {

       HotelRoom hotelRoom=  hotelRoomInfoMapper.selectById(roomId);
       return hotelRoom;
    }
}
